package example03.controller;

import example03.vo.Email;
import example03.vo.Email2;

/**
 * @Author liangbaigao
 * @Date 2023/9/28 11:35
 */
public class Client {


    /**
     * 发送邮件
     * @param email
     */
    public void sendMail(Email email){
        System.out.println("标题: " + email.getSubject() + "\t收件人: " + email.getReceiver()
                + "\t..发送成功!");
    }

    /**
     * 发送邮件
     * @param email
     */
    public void sendMail2(Email2 email){
        System.out.println("标题: " + email.getSubject() + "\t收件人: " + email.getReceiver()
                + "\t..发送成功!");
    }

}
